package wpspider.client.model;

import java.util.List;

/**
 * Page class.
 */
public class Page {
    /** Page name. */
    private String _name;
    /** Words included by page */
    private List<String> _words;

    /**
     * Constructor.
     * @param name
     * @param words
     */
    public Page(String name, List<String> words) {
        this._name = name;
        this._words = words;
    }

    /**
     * Gets page name.
     * @return Page name.
     */
    public String getName() {
        return _name;
    }

    /**
     * Gets words.
     * @return
     */
    public List<String> getWords() {
        return _words;
    }
}
